package com.baizhi.entity;

public class Address {
    private Integer addressId;

    private String name;

    private String local;

    private String zipCode;

    private String phone;

    private Integer userId;

    public Address(Integer addressId, String name, String local, String zipCode, String phone, Integer userId) {
        this.addressId = addressId;
        this.name = name;
        this.local = local;
        this.zipCode = zipCode;
        this.phone = phone;
        this.userId = userId;
    }

    public Address() {
        super();
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

	@Override
	public String toString() {
		return "Address [addressId=" + addressId + ", name=" + name + ", local=" + local + ", zipCode=" + zipCode
				+ ", phone=" + phone + ", userId=" + userId + "]";
	}
    
}